home *** CD-ROM | disk | FTP | other *** search
Gui4CLI script | 1998-06-24 | 965 b | 55 lines |
- G4C
-
- winbig -1 -1 250 37 "Add Filenote(s)"
- varpath "climaster/*/functions.g"
-
- xonload
- guiopen comment.g
-
- xonopen
- lvmulti first
- gosub functions.g getfile
- update comment.g 2 $cm_fname
- setgad comment.g 1 on
-
- xonclose
- cm_nwname = ""
- update comment.g 1 ""
- lvdir refresh
- guiquit comment.g
-
- xonfail
- ezreq "Error During Processing." Okay ""
- guiclose comment.g
-
- box 0 0 250 12 out button
-
- xtextin 0 12 250 13 "" cm_nwname "" 512
- gadid 1
- cli 'filenote $cm_select "$cm_nwname"'
- lvmulti off
- lvmulti next
- if $cm_select > ""
- cm_nwname = ""
- gosub functions.g getfile
- update comment.g 2 $cm_fname
- update comment.g 1 ""
- setgad comment.g 1 on
- else
- guiclose comment.g
- endif
-
- text 10 0 230 12 "" 30 nobox
- gadid 2
-
- xbutton 0 25 250 12 "Do _All Files"
- update comment.g 2 ""
- while $cm_select > ""
- cli 'filenote $cm_select "$cm_nwname"'
- lvmulti off
- lvmulti next
- endwhile
- guiclose comment.g
-
- ;--------------------------------------------
-